package com.crayon2f.test.beans;

/**
 * Created by feifan.gou@gmail.com on 2023/6/12 17:33.
 */
public enum Food {

    APPLE,
    BANANA,
    TOMATO;

    public static void eat() {

            System.out.println(Thread.currentThread().getStackTrace()[1].getClassName());
    }
}
